package org.swingplus.core.annotation.widget;

import org.swingplus.core.constant.theme.Theme;

import java.awt.Cursor;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.TYPE, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface MenuItem {
	
	
    String lable() default  ""; 	
	Theme theme() default Theme.WINDOWS;
	
	//标题栏
	boolean undecorated() default true;
	
	//鼠标形状
	int cursor() default Cursor.DEFAULT_CURSOR;

	String text() default  "";
	int fontSize() default 5;
	int[] foreground() default {0,0,0};

}
